package a04demo4;

public class test76 {
    public static void main(String[] args) {
        Person p = new Person("老李",35);
        Dog d = new Dog(4,"黑");
        Cat c = new Cat(3,"白");
        p.keepPet(c,"鱼干");
        p.keepPet(d,"骨头");
    }
}
